package com.kang.test;

import com.kang.service.AgencyService;
import com.kang.service.impl.AgencyServiceImpl;

/**
 * Created by 12904 on 2018/7/30.
 */
public class test
{
    public static void main(String[] args){
        AgencyService service = new AgencyServiceImpl();
//        service.delAgency(112);
//        service.delAgency(112);
//        service.delAgency(112);

       System.out.print("一共有"+service.find()+"条数据\n");
//        List<Agency> list = service.find(0,8);
//        for (Agency sInfo: list) {
//            System.out.print(sInfo.getUid()+"\n");
//            System.out.print(sInfo.getUlist().get(0).getUname()+"\n");
//            System.out.print(sInfo.getUlist().get(0).getUphone()+"\n");
//            System.out.print(sInfo.getRlist().get(0).getAreaName()+"\n");
//            System.out.print(sInfo.getRlist().get(1).getAreaName()+"\n");
//            System.out.print(sInfo.getRlist().get(2).getAreaName()+"\n");
//            System.out.print(sInfo.getUlist().get(0).getUaddress()+"\n");
//            System.out.print(sInfo.getUlist().get(0).getUsex()+"\n");
//            System.out.print(sInfo.getUlist().get(0).getCreateTime()+"\n");
//            System.out.print(sInfo.getUlist().get(0).getOpenid()+"\n");
//            System.out.print(sInfo.getUlist().get(0).getUemail()+"\n");
//
//
////            System.out.print(sInfo.getUlist().get(0).getUphone()+"\n");
////            System.out.print(sInfo.getUlist().get(0).getUphone()+"\n");
//        }
//

    }
}
